package cn.bzc.data.process.controller;

import cn.bzc.data.process.service.DataProcessService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class DataProcessController {
    @Resource
    private DataProcessService dataProcessService;

    @RequestMapping("/tables")
    public String getList(){
        dataProcessService.getTableList();
        return "success";
    }
    @RequestMapping("/test")
    public String test(){
//        dataProcessService.getTableList();
        return "success";
    }

}
